/**
 * @description 获取银行列表
 */
export const getBankList = () => {
  return request({
    url: '/dealer/pzDealerBank/getPzDealerBankListBySelf',
    method: 'post',
  })
}

/**
 * @description 添加银行
 */
export const addBank = (data) => {
  return request({
    url: '/dealer/pzDealerBank/savePzDealerBank',
    method: 'post',
    data,
  })

  
}

/**
 * @description 删除银行
 */
export const deleteBank = (dealerBankId) => {
  return request({
    url: `/dealer/pzDealerBank/deletePzDealerBankById?dealerBankId=${dealerBankId}`,
    method: 'post',
  })
}
